package edu.suda.xsap.service;
import edu.suda.xsap.dto.MemberDto;
import edu.suda.xsap.entity.Member;

import java.util.List;
public interface MemberService {
    void add(Member member);

    void update(Member member);

    void deleteById(Integer id);

    void deleteSelected(Integer[] ids);

    List<MemberDto> findByName(String name);

    List<MemberDto> findById(Integer id);

    List<MemberDto> findAll();
}
